<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <script src="js/jquery-1.8.3.js" type="text/javascript"/>
</head>
<body>
<table>
    <tr>
        <th>新闻标题</th>
        <th>发布人</th>
        <th>发布时间</th>
    </tr>
    <c:forEach items="${kk}" var="t">
        <tr id="topic">
            <td>${t.title}</td>
            <td>${t.admin.aname}</td>
            <td>${t.sendTime}</td>
        </tr>
    </c:forEach>
</table>
<script>
    $(function () {
        $.ajax({
            url:"GetAllTopicServlet",
            type:"POST",
            success:function (data) {
            }

        })
    })
</script>
</body>
</html>
